import Vue from 'vue'
import Router from 'vue-router'

// import Index from 'pages/Index/Index'
import ccc from 'pages/ccc/ccc'




Vue.use(Router)

export default new Router({
  routes: [
   
   
    { 
      path: '/', 
      name:'Index',
      component:() =>import('@/pages/Index/Index') 
    //  IndexDefault 
    },
    { 
      path: '/productDetail/:id', 
      name:'productDetail',
      component:() =>import('@/pages/ProductDetail/ProductDetail') 
    //  productDetail
    },
    { 
      path: '/newsList', 
      name:'newsList',
      component:() =>import('@/pages/NewsList/NewList') 
    //  NewsList
    },
    { 
      path: '/newsDetail/:id', 
      name:'newsDetail',
      component:() =>import('@/pages/NewsDetail/NewDetail') 
    //  NewsList
    },
    { 
      path: '/designList', 
      name:'deisgnList',
      component:() =>import('@/pages/DesignList/DesignList') 
    //  NewsList
    },
    { 
      path: '/designDetail/:id', 
      name:'designDetail',
      component:() =>import('@/pages/DesignDetail/DesignDetail') 
    //  NewsList
    },
    { 
      path: '/designItemDetail/:id', 
      name:'designItemDetail',
      component:() =>import('@/pages/DesignItemDetail/DesignItemDetail') 
    //  NewsList
    },
    { 
      path: '/productList/:style/:name', 
      name:'productList',
      component:() =>import('@/pages/ProductList/ProductList') 
    //  ProductList
    },
    {
      path: '/ccc',
      name: 'ccc',
      component: ccc
    }
  ]
})
